'''
Created on 2010-8-2

@author: wangjo
'''
import os

port = os.environ['SERVER_PORT']
if port and port != '80':
    HOST_NAME = '%s:%s' % (os.environ['SERVER_NAME'], port)
else:
    HOST_NAME = os.environ['SERVER_NAME']
    
SIMPLEGEO_KEY = "BTM83x2xNWBTmz93yGRVYeC5KgSQfLt3"
SIMPLEGEO_SECRET = "eKDUn3yH5UJLvqhvb2u6H76efTVXTHjK"
SIMPLEGEO_LAYER = "com.taobility.app.sodexo"

APP_NAME = "taobility-sodexo-V1"
GA_USER = "appengine@taobility.com"
GA_PWD = "Q1a2z3w4"

CACHE_NS_SETTING = "setting"
CACHE_DURATION_SETTING = 60*60*24*7
